import { post } from "../utils/request";

type LoginData = {
  userName: string;
  password: string;
};

export const loginAPI = (data: LoginData) =>
  post("/api/v1/auth/manager_login", data);
